<template>
	<uni-nav-bar
		:title="title"
		background-color="#FD6363"
		left-icon="left"
		color="#fff"
		:fixed="true"
		:status-bar="true"
		@clickLeft="handleNvigateBack"
	/>
</template>

<script setup>
defineProps({
	title: {
		type: String,
		default: undefined
	}
});

function handleNvigateBack() {
	uni.navigateBack();
}
</script>

<style lang="scss" scoped></style>
